API SPEND COMPASS — FICTIONAL EXAMPLE
All rates below are invented for arithmetic practice. They are not quoted
provider prices. example.com is a demonstration placeholder, not a source of
pricing information. The calculator labels this example explicitly.

Imagine one call uses:
  12,000 uncached input tokens at $2 per million
   8,000 cached input tokens at $0.50 per million
   3,000 output tokens at $8 per million

Total input: 12,000 + 8,000 = 20,000 tokens.
Uncached input cost: 12,000 × 2 / 1,000,000 = $0.024.
Cached input cost: 8,000 × 0.50 / 1,000,000 = $0.004.
Output cost: 3,000 × 8 / 1,000,000 = $0.024.
One-call estimate: 0.024 + 0.004 + 0.024 = $0.052.
20 identical calls: 20 × 0.052 = $1.04.
If $2 is available, forecast remaining is $0.96.
At that same per-call estimate, 38 whole calls fit within $2; 39 cost $2.028.

Changing one uncached token at a rate of $2 per million adds $0.000002.
You can change counts, repeat count or budget in the loaded browser example;
it stays labeled fictional while its placeholder source remains. For your own
estimate, enter your actual checked source and rates. The tool does not verify
those rates even when the URL is valid.
Zero output tokens still require an explicit output rate. A blank rate is
unknown. The browser rejects it rather than silently treating the category
as free. Any excluded fee or changed counts can change the actual bill.

TRY THE TRAP
If you entered 20,000 UNCACHED input tokens plus 8,000 cached tokens, the tool
would display 28,000 total input. That is a different scenario. The calculator
cannot infer what your provider's report meant; check the category definitions.

COMPLETION CHECK
[ ] My scenario has one clear output and a recognizable name.
[ ] My source URL points to the pricing page I actually checked.
[ ] My date records when I checked it; the tool did not verify that page.
[ ] I converted the rate unit/currency if needed, and recorded the assumption.
[ ] Uncached plus cached equals my intended total input.
[ ] I counted output/reasoning correctly for the provider's definitions.
[ ] Every rate is entered explicitly; confirmed zero differs from unknown.
[ ] I can reproduce the three-category one-call sum.
[ ] Repeat count is a stated assumption, not a guarantee about later calls.
[ ] I named one relevant excluded charge or eligibility condition.
[ ] I downloaded and opened my worksheet before closing the tab.
[ ] I understand this tool does not enforce billing or a spending limit.

SHORT ANSWERS
1. Why not enter total input as uncached when cached tokens are a subset?
   It counts the cached subset twice. Subtract the cached count to get uncached.
2. Does a valid pricing URL mean the rates or discount are verified?
   No. The tool checks URL syntax only; you check the source and eligibility.
3. Does an estimate under budget prevent a larger bill?
   No. Actual usage, rate changes and excluded fees can change the bill.
